/**
 * 教室管理
 */

import request from "@/utils/request.js";
//查询教室信息列表
export function classroomListApi(params) {
    return request({
        url: '/edu/classroom/list',
        method: 'POST',
        params
    })
}

//查询教室信息列表
export function classroomAddApi(data) {
    console.log(data);
    return request({
        url: '/edu/classroom/add',
        method: 'POST',
        params: data
    })
}

  //删除专业
  export function classroomDelApi(data) {
    console.log(data);
    return request({
        url: '/edu/classroom/remove',
        method: 'POST',
        params: data
      })
  }


    //修改专业
export function classroomEditApi(data) {
  console.log(data);
  return request({
      url: '/edu/classroom/edit',
      method: 'POST',
      params: data
    })
}
export function getNationApi(data) {
    return request({
      url: "/edu/typeData/list",
      method: "post",
      params: data,
    });
  }